From 5a0fb278d118fe8ef2d6a330e5ffd3983406d044 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Thu, 14 Dec 2017 13:34:06 +0100 Subject: [PATCH] x11: Fix erroneous & to be && --- gdk/x11/gdkselectionoutputstream-x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdk/x11/gdkselectionoutputstream-x11.c b/gdk/x11/gdkselectionoutputstream-x11.c index fbca038869..405a49d8c0 100644 --- a/gdk/x11/gdkselectionoutputstream-x11.c +++ b/gdk/x11/gdkselectionoutputstream-x11.c @@ -309,7 +309,7 @@ gdk_x11_selection_output_stream_invoke_flush (gpointer data) { GdkX11SelectionOutputStream *stream = GDK_X11_SELECTION_OUTPUT_STREAM (data); - if (gdk_x11_selection_output_stream_needs_flush (stream) & + if (gdk_x11_selection_output_stream_needs_flush (stream) && gdk_x11_selection_output_stream_can_flush (stream)) gdk_x11_selection_output_stream_perform_flush (stream); @@ -615,7 +615,7 @@ gdk_x11_selection_output_stream_xevent (GdkDisplay *display, GDK_NOTE(SELECTION, g_printerr ("%s:%s: got PropertyNotify Delete during INCR\n", priv->selection, priv->target)); priv->delete_pending = FALSE; - if (gdk_x11_selection_output_stream_needs_flush (stream) & + if (gdk_x11_selection_output_stream_needs_flush (stream) && gdk_x11_selection_output_stream_can_flush (stream)) gdk_x11_selection_output_stream_perform_flush (stream); return FALSE; -- 2.30.2